/*
 * @Author: hq
 * @Date: 2022-06-17 17:46:12
 * @LastEditors: hq
 * @LastEditTime: 2022-06-30 09:38:23
 * @Description: your project
 * @version: 1.0
 */
import request from "@/utils/request";

//充值记录
export function recordList(data) {
    return request({
        url: "integral/recharge", //自己的接口地址
        method: "post", //请求方法
        data
    });
}
//分发记录
export function giveRecord(data) {
    return request({
        url: "integral/giveRecord", //自己的接口地址
        method: "post", //请求方法
        data
    });
}
//二维码
export function payQr(data) {
    return request({
        url: "common/payQr", //自己的接口地址
        method: "post", //请求方法
        data
    });
}
//赠送积分
export function giveIntegral(data) {
    return request({
        url: "order/mpy", //自己的接口地址
        method: "post", //请求方法
        base: "mch",
        headers: {
            'content-type': 'multipart/form-data'
        },
        data
    });
}
//充值
export function rechargeMoney(data) {
    return request({
        url: "web/recharge", //自己的接口地址
        method: "post", //请求方法
        base: "mch",
        headers: {
            'content-type': 'multipart/form-data'
        },
        data
    });
}
//判断有没有支付
export function isPayment(data) {
    return request({
        url: "order/pay/checkPay", //自己的接口地址
        method: "post", //请求方法
        base: "mch",
        headers: {
            'content-type': 'multipart/form-data'
        },
        data
    });
}